package com.csnf.feing;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "seata-account")
public interface AccountFeigClient {
    //跟新账号余额
    @RequestMapping("/account/reduceAccount")
    public String reduceAccount(@RequestParam String userId,@RequestParam int money);

}
